﻿using GameView.Models;
using System.ComponentModel.DataAnnotations;

namespace GameView.Services.Dtos.Persons
{
    public class PersonnelUpdateRoleDto : BaseDto, IValidatableObject
    {
        /// <summary>
        /// 人员列表
        /// </summary>
        public List<int> PersonIds { get; set; }

        /// <summary>
        /// 新的角色Id
        /// </summary>
        public int RoleId { get; set; }

        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
        {
            return [];
        }
    }
}